package service;

import dao.UsersDao;
import dao.UsersDaoImpl;
import model.Users;

public class UsersServiceImpl implements UsersService {
	int count;
	UsersDao usersDao = new UsersDaoImpl();
	@Override
	public Users userLogin(String loginId, String loginPwd) {
		return usersDao.findByLoginIdAndPwd(loginId, loginPwd);
	}

	@Override
	public Users userPwdUpdate(Users user) {
		return usersDao.updateUsers(user);
	}
}
